import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'

async function bootstrap() {
  // abortOnError 抛出错误，不被退出
  const app = await NestFactory.create(AppModule, { abortOnError: false })
  await app.listen(3002)
}
bootstrap()
